package org.lc.service.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lc.platform.mybatis.entity.BaseEntity;
import org.lc.platform.mybatis.manager.annotation.OrderBy;
import org.lc.platform.mybatis.manager.annotation.Params;

import java.io.Serial;
import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(autoResultMap = true)
public class SysDict extends BaseEntity implements Serializable {
    /**
     * 字典唯一key
     */
    @Schema(description = "字典唯一key")
    private String code;

    /**
     * 字典名称
     */
    @Schema(description = "字典名称")
    private String name;

    /**
     * 是否禁用
     */
    @Schema(description = "是否禁用")
    private Boolean forbidden;

    /**
     * 是否缓存
     */
    @Schema(description = "是否缓存")
    private Boolean cache;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;


    @Serial
    private static final long serialVersionUID = 1L;
}
